home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 11IS7BW (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.7 KB  |  51 lines

  1. package com.sun.java.swing;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5. import java.awt.event.ItemEvent;
  6. import java.awt.event.ItemListener;
  7. import java.io.Serializable;
  8. import java.util.EventObject;
  9.  
  10. class DefaultCellEditor$EditorDelegate implements ActionListener, ItemListener, Serializable {
  11.    // $FF: synthetic field
  12.    DefaultCellEditor this$0;
  13.    protected Object value;
  14.  
  15.    public Object getCellEditorValue() {
  16.       return this.value;
  17.    }
  18.  
  19.    public void setValue(Object x) {
  20.       this.value = x;
  21.    }
  22.  
  23.    public boolean isCellEditable(EventObject anEvent) {
  24.       return true;
  25.    }
  26.  
  27.    public boolean startCellEditing(EventObject anEvent) {
  28.       return true;
  29.    }
  30.  
  31.    public boolean stopCellEditing() {
  32.       return true;
  33.    }
  34.  
  35.    public void cancelCellEditing() {
  36.    }
  37.  
  38.    public void actionPerformed(ActionEvent e) {
  39.       this.this$0.fireEditingStopped();
  40.    }
  41.  
  42.    public void itemStateChanged(ItemEvent e) {
  43.       this.this$0.fireEditingStopped();
  44.    }
  45.  
  46.    // $FF: synthetic method
  47.    DefaultCellEditor$EditorDelegate(DefaultCellEditor this$0) {
  48.       this.this$0 = this$0;
  49.    }
  50. }
  51.